package com.gang.ssm.bos.system.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.gang.ssm.bos.system.bean.Workordermanage;
import com.gang.ssm.bos.system.bean.WorkordermanageExample;

public interface WorkordermanageMapper {
    long countByExample(WorkordermanageExample example);

    int deleteByExample(WorkordermanageExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Workordermanage record);

    int insertSelective(Workordermanage record);

    List<Workordermanage> selectByExample(WorkordermanageExample example);

    Workordermanage selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Workordermanage record, @Param("example") WorkordermanageExample example);

    int updateByExample(@Param("record") Workordermanage record, @Param("example") WorkordermanageExample example);

    int updateByPrimaryKeySelective(Workordermanage record);

    int updateByPrimaryKey(Workordermanage record);

	public List<Workordermanage> findNoStartByLimit(@Param("pageNo")int pageNo, @Param("pageSize")int pageSize);

	public List<Workordermanage> findNoStart();

	public void updateStartTo1(Integer id);

	public void updateStartTo0(Integer id);

	int countByNoStart();

}